package com.ai.entity.alarm;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * (Cgdefectparam)实体类
 *
 * @author makejava
 * @since 2024-05-29 16:30:09
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DefectParam implements Serializable {
    private static final long serialVersionUID = -85153258470656751L;

    /**
     * 主键Id
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    /**
     * 告警定制参数表Id
     */
    private Integer alarmAdditionId;
    /**
     * 缺陷类型
     */
    private String defectType;
    /**
     * 用于区分a,b面
     */
    @ApiModelProperty(value = "状态(1.a面，2.b面)")
    private String faceType;
    /**
     * 缺陷x坐标点
     */
    private Double x;
    /**
     * 缺陷y坐标点
     */
    private Double y;

    /**
     * 图片在集合中索引的位置
     */
    private Integer defectIndex;

    @ApiModelProperty("创建时间")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty("修改时间")
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty("创建人")
    @TableField("create_user")
    private String createUser;

    @ApiModelProperty("修改人")
    @TableField("update_user")
    private String updateUser;




}

